package com.dq.eduservice.mapper;

import com.dq.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dq.eduservice.vo.CoursePubulishVo;
import com.dq.eduservice.vo.CourseVo;
import com.dq.eduservice.vo.FrontCourseVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 课程(EduCourse)表数据库访问层
 *
 * @author Dq
 * @since 2022-07-22 19:48:50
 */
@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    public CoursePubulishVo getCoursePubulishInfo(String courseId);

    /**
     * 查询最终数据
     * @param courseId
     * @return
     */
    FrontCourseVo getFinalCourseDetailInfo(String courseId);
}